  import request from "@/utils/request";
/**
 * 
 * @param SchedulingQuery 
 * 
 */

// 查询医生排班
export function getScheduling(params: any) {
    return request({
        url: '/doctor/api/v1/scheduling/getSchedulingList',
        method: "post",
        params,
        headers: {
    'Content-Type': 'application/json' // 必须设置
  }
    });
}
// 修改医生排班
export function setScheduling(data:Scheduling){
    return request({
        url:'/doctor-boot/api/v1/scheduling/setScheduling',
        method:'post',
        data,
         headers: {
            'Content-Type': 'application/json'
        }
    })
}


/**
 * 获取可挂号的排班列表
 * param 
 */
export function getRegisteredScheduling(schedulingQueryZk: any) {
  return request({
    url: '/doctor-boot/api/v1/scheduling/getRegisteredScheduling',
    method: "post",
    params: schedulingQueryZk,
    headers: {
      'Content-Type': 'application/json' // 必须设置
    }
  });
}